﻿/*
 *  Name : Wedn.Net管理中心样式 - 公共样式;
 *  Author : iceStone;
 *  Date : 2013-04-06 13:15:05
 *  Description : CMS主界面整体框架样式;
 */
@import "button.css";

body, h1, h2, h3, h4, ul, li, dl, dt, dd, img, p, input {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}

html, body {
    height: 100%;
}

body {
    font: 13px 微软雅黑;
    background: #e8e8e8 url('../images/bg.png') repeat-x 0 -20px;
    margin: 0 20px;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
    width: 12px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

    ::-webkit-scrollbar-thumb:-moz-window-inactive,
    ::-webkit-scrollbar-thumb:window-inactive {
        background: rgba(255,0,0,0.4);
    }

::selection {
    color: #0088dd;
    background: #dcdcdc;
}

a:link, a:visited {
    /*font: 13px 微软雅黑;*/
    /*color: #222;*/
    text-decoration: none;
}

textarea, input[type="text"], input[type="password"], select {
    background-color: #fff;
    color: #333;
    border: 1px solid #dfdfdf;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 2px 4px;
}

    textarea:focus, input[type="text"]:focus, input[type="password"]:focus, select:focus {
        border-color: #AAA;
        -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }

input[readonly] {
    background-color: #EEEEEE;
}

textarea:focus, input:focus, select:focus {
    outline: none; /*--forChrome--*/
}

a:hover {
    color: #808080;
}

select {
    line-height: 15px;
    border-color: #dfdfdf;
    padding: 2px;
    height: 2em;
    font-size: 12px;
}

.clear {
    clear: both;
}

.screen-reader-text, .screen-reader-text span, .ui-helper-hidden-accessible {
    position: absolute;
    left: -1000em;
    top: -1000em;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

#header {
    background: url('../images/bg.png') repeat-x 0 -20px;
    min-width: 1024px;
    width: 100%;
    height: 50px;
    position: relative;
    overflow: hidden;
}

    #header h1 {
        display: block;
        background: url('../images/h1_bg.png') no-repeat 1px 4px;
        height: 50px;
        width: 430px;
        position: absolute;
    }

        #header h1 .logo a {
            background-image: url('../images/admin_logo.png');
            height: 35px;
            width: 35px;
            margin: 10px 6px 0;
            display: block;
        }

        #header h1 .logo:hover {
            opacity: 0.6;
        }

        #header h1 .title a:link, #header h1 .title a:visited {
            position: absolute;
            top: 10px;
            left: 70px;
            color: #fff;
            font-size: 25px;
            font-weight: bold;
        }

        #header h1 .title a:hover {
            color: #F0F0F0;
        }

    #header .user-info {
        background: url('../images/split_line.png') no-repeat right -1px;
        /*width: 280px;*/
        float: right;
        padding: 15px 20px 12px 0;
        color: #FFF;
        font-size: 16px;
    }

        #header .user-info b {
            color: #c0c0c0;
            font: normal 14px 宋体;
        }

        #header .user-info a:link, .user-info a:visited {
            color: #FFF;
            font-size: 16px;
        }

    #header .weather {
        background: url('../images/weather.png') no-repeat 10px 15px;
        float: right;
        display: inline;
        width: 80px;
        padding: 15px 0 0 50px;
    }

        #header .weather a:link, .weather a:visited {
            color: #FFF;
            font-size: 16px;
        }
/*===========================================================*/
#container {
    border: 1px solid #b3ced7;
    position: relative;
    min-width: 1024px;
    min-height: 550px;
    width: 100%;
    height: 88%;
    background-color: #FFF;
    overflow: hidden;
    border-top-style: none;
}

#navigation {
    background: url('../images/h1_bg.png') no-repeat left -52px;
    border-right: 1px solid #b3ced7;
    position: relative;
    float: left;
    min-width: 140px;
    min-height: 550px;
    width: 10%;
    height: 100%;
    max-width: 180px;
    margin-top: -1px;
}

.nav {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 5px 5px;
}

    .nav .m-icon {
        background: url('../images/menu_icon.png') no-repeat;
    }

    .nav .item {
        /*border-bottom: 1px solid #b3ced7;*/
        margin-bottom: 5px;
    }

        .nav .item h3 {
            -webkit-text-shadow: 0 0 1px #AAA;
            text-shadow: 0 0 1px #AAA;
            border-bottom: 1px dotted #b3ced7;
            font: 400 15px 微软雅黑;
            color: #21759b;
            line-height: 18px;
            padding: 5px 30px;
            cursor: pointer;
        }

            .nav .item h3.current {
                border: 0;
            }

                .nav .item h3.current:hover {
                    background-color: transparent !important;
                }

            .nav .item h3:hover {
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
                border-radius: 3px;
                background-color: #E4E4E4;
            }

            .nav .item h3.home {
                background-position: 0 -163px;
            }

                .nav .item h3.home:hover, .current h3.home {
                    background-position: 0 -131px !important;
                }

            .nav .item h3.post {
                background-position: 0 -609px;
            }

                .nav .item h3.post:hover, .current h3.post {
                    background-position: 0 -577px !important;
                }

            .nav .item h3.media {
                background-position: 0 -289px;
            }

                .nav .item h3.media:hover, .current h3.media {
                    background-position: 0 -257px !important;
                }

            .nav .item h3.link {
                background-position: 0 -226px;
            }

                .nav .item h3.link:hover, .current h3.link {
                    background-position: 0 -194px !important;
                }

            .nav .item h3.page {
                background-position: 0 -353px;
            }

                .nav .item h3.page:hover, .current h3.page {
                    background-position: 0 -321px !important;
                }

            .nav .item h3.comment {
                background-position: 0 -99px;
            }

                .nav .item h3.comment:hover, .current h3.comment {
                    background-position: 0 -67px !important;
                }

            .nav .item h3.style {
                background-position: 0 -32px;
            }

                .nav .item h3.style:hover, .current h3.style {
                    background-position: 0 0 !important;
                }

            .nav .item h3.plugin {
                background-position: 0 -417px;
            }

                .nav .item h3.plugin:hover, .current h3.plugin {
                    background-position: 0 -385px !important;
                }

            .nav .item h3.user {
                background-position: 0 -673px;
            }

                .nav .item h3.user:hover, .current h3.user {
                    background-position: 0 -641px !important;
                }

            .nav .item h3.tool {
                background-position: 0 -482px;
            }

                .nav .item h3.tool:hover, .current h3.tool {
                    background-position: 0 -450px !important;
                }

            .nav .item h3.option {
                background-position: 0 -546px;
            }

                .nav .item h3.option:hover, .current h3.option {
                    background-position: 0 -514px !important;
                }

        .nav .item ul {
            margin: 3px 0;
            cursor: pointer;
            display: none;
        }

            .nav .item ul.hover {
                display: block;
                position: absolute;
                margin-top: -28px;
                left: 130px;
                width: 110px;
                background-color: #fff;
                border-color: #dfdfdf;
                -webkit-box-shadow: 2px 3px 6px rgba(0,0,0,0.4);
                box-shadow: 2px 3px 6px rgba(0,0,0,0.4);
            }

            .nav .item ul li a {
                padding: 1px 20px;
                font-size: 13px;
                width: 90px;
                color: #21759b;
                display: block;
            }

            .nav .item ul li.current a {
                font-size: 14px;
                padding-left: 22px;
                color: #333;
                font-weight: bold;
            }

            .nav .item ul li:hover {
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
                border-radius: 3px;
                background-color: #E4E4E4;
            }

.main-content {
    margin-left: 142px;
    position: relative;
    overflow: auto;
    height: 100%;
    padding: 0 10px;
}


#screen-meta {
}

#screen-meta-link {
    margin-right: 5px;
    margin-top: -1px;
    z-index: 1;
    position: relative;
}

#screen-meta-option {
    position: relative;
    overflow: visible;
    display: none;
    background-color: #f1f1f1;
    border-color: #ccc;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    /*position: relative;*/
    border-width: 0 1px 1px;
    border-style: none solid solid;
}

#screen-options-wrap, #contextual-help-wrap {
    margin: 0;
    padding: 8px 20px 12px;
    position: relative;
}

#screen-options-link-wrap, #contextual-help-link-wrap {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #e3e3e3;
    background-image: -webkit-gradient(linear,left bottom,left top,from(#dfdfdf),to(#f1f1f1));
    background-image: -webkit-linear-gradient(bottom,#dfdfdf,#f1f1f1);
    background-image: -moz-linear-gradient(bottom,#dfdfdf,#f1f1f1);
    background-image: -o-linear-gradient(bottom,#dfdfdf,#f1f1f1);
    background-image: linear-gradient(to top,#dfdfdf,#f1f1f1);
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    float: right;
    height: 23px;
    padding: 0;
    margin: 0 0 0 6px;
    font-family: sans-serif;
}
/*===================设置选项样式=====================*/
#screen-meta-link a.show-settings {
    text-decoration: none;
    z-index: 1;
    padding: 1px 16px 0 6px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    display: block;
    -webkit-text-shadow: rgba(255,255,255,0.7) 0 1px 0;
    text-shadow: rgba(255,255,255,0.7) 0 1px 0;
}

    #screen-meta-link a.show-settings:hover {
        cursor: pointer;
        background: url('../images/arrows.png') no-repeat right 3px;
    }

#screen-meta-link a.hide-settings:hover {
    cursor: pointer;
    background: url('../images/arrows.png') no-repeat right -32px;
}
/*===================设置选项样式结束=====================*/

.load-tips {
    background: rgba(255,255,255,0.6) url('../images/wpspin-2x.gif') no-repeat 50% 50%;
    position: absolute;
    margin-left: -10px;
    z-index: 9999;
    width: 100%;
    height: 100%;
    display: none;
}

#iframe {
    border: 0;
    width: 100%;
    /*height: 100%;*/
}

    /*#iframe a:link, #iframe a:visited {
        color: #21759b;
        text-decoration: none;
    }*/

    #iframe .hd-title h1 {
        background: url('../images/title_icon.png') no-repeat;
        background-position: 999px 999px;
        font: 500 24px 微软雅黑;
        color: #464646;
        margin: 5px 0;
        padding: 5px 0 5px 50px;
        display: inline-block;
    }

    #iframe .hd-title .add-new {
        background: #f1f1f1;
        font-family: sans-serif;
        margin-left: 10px;
        padding: 2px 5px;
        text-decoration: none;
        font-size: 12px;
        border-radius: 3px;
    }

        #iframe .hd-title .add-new:hover {
            color: #ffa1a1;
        }

    #iframe .hd-title .panel {
        background-position: 0 -117px;
    }

    #iframe .hd-title .post {
        background-position: 0 -530px;
    }

    #iframe .hd-title .media {
        background-position: 0 -233px;
    }

    #iframe .hd-title .link {
        background-position: 0 -175px;
    }

    #iframe .hd-title .page {
        background-position: 0 -292px;
    }

    #iframe .hd-title .comment {
        background-position: 0 -56px;
    }

    #iframe .hd-title .style {
        background-position: 0 2px;
    }

    #iframe .hd-title .plugin {
        background-position: 0 -351px;
    }

    #iframe .hd-title .user {
        background-position: 0 -587px;
    }

    #iframe .hd-title .tool {
        background-position: 0 -410px;
    }

    #iframe .hd-title .option {
        background-position: 0 -469px;
    }

#message {
    background-color: #ffffe0;
    border: 1px solid #e6db55;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 7px 15px;
    margin-bottom: 10px;
    display: none;
}

.footer {
    font: 14px 微软雅黑;
    color: #808080 !important;
    clear: both;
    text-align: right;
    width: 98%;
    height: 15px;
    margin: 0px auto;
    padding: 5px 0;
}

    .footer a {
        font: 14px 微软雅黑;
        color: #808080 !important;
    }
